using System;
using System.Collections.Generic;
using JSC.Portal.Web.App.Modules.StaticContents;
using JSC.Portal.Entities.Interfaces;

namespace JSC.Portal.Web.App.Modules.Articles.Entities
{
	public class Article : StaticContent, IValid
	{
        public Article() : base()
        {
            ValidFrom = DateTime.Now.Date;
        }

        public string Description
        {
            get;
            set;
        }

		public DateTime ValidFrom
		{
            get;
            set;
		}

		public DateTime? ValidTill
		{
            get;
            set;
		}

		public bool Syndicate
		{
            get;
            set;
		}

		public ArticleCategory ArticleCategory
		{
            get;
            set;
		}

		public IList<Comment> Comments
		{
            get;
            set;
		}
	}
}
